#ifndef AXISHANDSHAKEWIDGET_H
#define AXISHANDSHAKEWIDGET_H

#include <QObject>
#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QGridLayout>
#include <QPushButton>
#include "quiqss.h"

class QAxisHandShakeWidget : public QWidget
{
    Q_OBJECT
public:
    explicit QAxisHandShakeWidget(int i32AxisNo,QString sAxisName,QWidget *parent = nullptr);

    ~QAxisHandShakeWidget();

signals:

    void signal_sethandshake(int i32AxisNo,int i32value,int datalen);

public slots:

    void onSetParamButtonClick();

private:
    void InitUI();

private:
    QLineEdit* _pValueEdit;


    QPushButton* _pSetParamButton;


private:
    int _i32AxisNo;
    QString _sAxisName;
};

#endif // AXISPARAMWIDGET_H
